

#ifndef _SHELL_RESRANAPTITUDE_MESSAGE_H_
#define _SHELL_RESRANAPTITUDE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "AptitudeInfo.h"
using namespace std;

class ResRanAptitudeMessage : public Message
{
	public:
	ResRanAptitudeMessage();
	~ResRanAptitudeMessage();
	void reset();
	ResRanAptitudeMessage* clone();
	static const int _ID;
	//随机的资质属性
	vector<AptitudeInfo*> ranAttribute;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
